import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import get from '@dfeidao/atom-web/local/get';
import fire_component_msg from '@dfeidao/atom-web/msg/fire';

export default async function a008(fd: IFeidaoAiBrowserComponent) {
	// 新增分派条件字段弹窗
	// const id = fd.data._id;
	const role_type_id = get(fd, '_id');

	const role_sysarr = get(fd, 'role_sysarr');
	const tabname = fd.data.node.querySelector<HTMLInputElement>('#tabname').value;
	fire_component_msg('zj-000007', 'ec-001', { tabname, role_sysarr, role_type_id });
}
